var PAGE_VISIT = 'art-visit';
/**
 * 拜访记录页
 * @type _L5.Anonym$0
 */
App.View.VisitPage = (function(lng, App) {

    var _router = App.Router;
    var _template = App.Data.Template;

    var $ = lng.dom;
    var $_loader = $('nav#home-loader');
    var $_alerter = $('label#home-alerter');
    var $_content = $('ul#home-content');

    var loadPage = function() {

    };

    var showPageAlert = function(msg) {
        $_content.hide();
        $_alerter.html(msg);
        $_alerter.show();
    };

    var showPageContent = function() {
        $_alerter.hide();
        $_content.show();
    };

    var setLoaderVisiable = function(isVisiable) {
        if (isVisiable) {
            $_loader.show();
        } else {
            $_loader.hide();
        }
    };

    return {
        loadPage: loadPage,
        showPageAlert: showPageAlert,
        setLoaderVisiable: setLoaderVisiable,
        showPageContent: showPageContent
    };
})(Lungo, App);